New Copenhagen Mod for Pirates! Gold for Windows.
by Walde

NB!! MAKE A BACKUP OF YOUR GAME BEFORE USING THIS MOD. I TAKE NO RESPONSIBILITY FOR ANY DAMAGE DONE.

Contents
1. Effects of the mod.
2. Installation.
3. How were the files changed?
	3a. The savegame file.
	3b. The citymap file.
	3c. The gamemap file.

1. EFFECTS OF THE MOD

The year is 1680, you're an English pirate, starting your career in New Copenhagen.

New Copenhagen is a magnificent English town in the middle of the Caribbean Sea.

It lies approximately halfway between Hispaniola and the Spanish Main, on a very small, newly discovered island.

It has 4 forts, 500 soldiers, 1180 citizens and is very wealthy. 

Bermuda has mysteriously disappeared.


2. INSTALLATION

This Zip-file contains four files:
New Copenhagen.txt	-  This file
Pirates9.sav		-  A Savegame file
Citymap.pcx		-  The Citymap (the globe in the cabin)
Map1680.pcx		-  The Gamemap (where the action is)

NB!! MAKE A BACKUP OF YOUR GAME (OR JUST YOUR VERSIONS OF THE LAST 3 FILES) BEFORE INSTALLING

Copy the Savegame file to your Pirates root directory (where the Wp.exe file is, for example)
Copy the two .pcx file to the Pcx directory (where all the .pcx files are)

Now just start the game, and load the last saved game, called New Copenhagen.

3. HOW WERE THE FILES CHANGED?

3a. The savegame file.

	The savegame file was edited using a hex editor. I will assume you know something about hex-editing.

	First a regular game was started as English Apprentice with Fencing in 1680.

	This placed me in Nassau.

	City where player is located:
	Offset 7b originally had the value 17, meaning the 18th (the first is 0) city alphabetically - Nassau.

	This was changed to 03 (the fourth city - Bermuda).

	Location of City (gamemap):
	Offsets 398-39b were changed to EE011501 (The coordinates of Bermuda, from topleft corner)

	EE01=494   1501=277 so Bermuda is now at (494,277) which is the middle of the Caribbean Sea.

	Statistics of City:
	Offset 39c -> 01 (English, which it was already)
	Offset 39e -> 04 (Forts)
	Offset 3a0 -> 32 (=50, meaning 500 soldiers)
	Offset 3a2 -> 76 (=118, meaning 1180 citizens)
	Offset 3a4 -> 80 (Economy, 80 is high, so very good economy)
	Offset 3a6 -> dd (=221, meaning approx. 221.000 gold, ie. max 50.000)
	
	Exits from City:
	Offsets 3c6-3c9: Location for exit by land
	Offsets 3ca-3cd: Location for exit by sea
	
	Location of City (Citymap):
	Offsets 3d0-3d3 -> 6f01cb00 (Coordinates of Bermuda, from topleft corner)
	
	6f01=367   cb00=203 so Bermudas location on citymap is now at (367,203).
	
	Note that this map is smaller than the gamemap (because of the border, menus, etc.), hence the smaller coordinates.
	
	Name of City:
	Offsets 3d6-3e3 -> 4e657720436f70656e686167656e (Name is now New Copenhagen instead of Bermuda)

	Tiles where city can be entered:
	Offsets 12be-12c1 -> EE011501  (494,277)
	Offsets 12c4-12c7 -> EE011401  (494,276)
	Offsets 12ca-12cd -> EF011401  (495,276)
	Offsets 12d0-12d3 -> EF011501  (495,277)

3b. The citymap file.

	The citymap file is a .pcx file, so editable in any image editor (I used Corel Photopaint 8).
	
	The map itself in the picture (excluding right and bottom menus) is 480 pixels wide and 360 pixels high.

	It is a straightforward picture, so it's easy to see what's what.

	First, a patch of water was copied from the Atlantic and pasted to cover Bermuda.

	Then, Nevis and the eight pixels surrounding it, were copied to the location (in pixels) (367,203).
	
3c. The gamemap file.

	The gamemap file is a .pcx file, so editable in any image editor (I used Corel Photopaint 8).
	
	The map itself in the picture (excluding right and bottom menus) is 640 pixels wide and 480 pixels high.

	This difference in the two maps' sizes explains the different coordinates (I've made a small error in the Y-coordinate).

	This map is not easy to read. Each color represents a different sprite (small picture).

	A certain color could for example be:
		- a certain patch of water (there are many different)
		- a house in a city
		- a piece of coast with some water
		- a bit of land

	Making sense of and thus altering this is very difficult, and results are often ugly.

	It is hard to find the pixels one is looking for, so a ruler with pixels in your image editor is a must.

	First, a patch of water was copied from the Atlantic and pasted to cover Bermuda.

	Then, Nevis and the eight pixels surrounding it, were copied to the location (in pixels) (494,277).

Now, the player has been placed in Bermuda.

Bermuda has been made big and strong.

Bermuda has been moved.

Bermuda has received the right exit locations (next to it).

Bermuda has been moved on the citymap (the little dot that blinks when you select it).

Bermuda has been renamed New Copenhagen

Four tiles covering New Copenhagen were set to be entries into the city.

Bermuda was deleted from the citymap.

Nevis graphic was copied to the New Copenhagen location on citymap.

Bermuda was deleted from the gamemap.

Nevis graphic was copied to the New Copenhagen location on gamemap.






Enjoy!



	